Skip to content

Conversation

@pull
Copy link

@pull pull bot commented May 10, 2022

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

@pull pull bot added the ⤵️ pull label May 10, 2022
@squash-labs
Copy link

squash-labs bot commented Feb 14, 2023

Manage this branch in Squash

Test this branch here: https://master-n02a3.squash.io

pekkaklarck and others added 28 commits May 20, 2025 21:44
It was removed in e3781ab because new `matches` and `parse_args` made
it redundant.  It was used at least by one project, so now it's back
but deprecated.
Fixes #2946.

Documentation missing, but it will be done as part of documenting
variable conversion in general (#3278).
`datetime` conversion suppors a special value `now` and `date`
conversoin supports `today`.

Fixes #5440.
Earlier implementation of #5440 supported `now` only with `datetime`
and `today` only with `date`. This implementation is easier for users.
To some extend related to documenting variable type conversion
(#3278).
Earlier syntax was `${name:pattern: type}`, but now it is
`${name: type:pattern}`. This is more consistent with the general
variable type syntax `${name: type}`. Part of #3278.
Error messages enhanced in these cases:
- Embedded argument value is invalid.
- Argument default value is invalid.
- Explicit test for embedded args regexp with leading/trailig spaces.
- Add one test for type conversion also to embedded arguments suite.
- Remove Python 2 reference
- Add section about type hints
Also some refactoring:
- Parse arguments to VariableMatch objects just once.
- Reorder methods.

Fixes #5443.
Hopefully this doesn't make tests flakey...
…yword

This only affects a situation where
- a name of an executed keyword contains a variable and
- the name matches a different keyword depending on are variables replaced or not.

After this change an exact match after variables have been resolved
has a precedence regardless what the original name would match.

Fixes #5444.
pekkaklarck and others added 30 commits November 27, 2025 11:52
Most importantly, add custom type docs for Source and Element.

Related to #5541 and #5373.
Not needed anymore when XML has typing (#5541) that brings
documentation for the `bool` type automatically.
Hopefully this doesn't make tests flakey...
- Disable current timeouts when running keyword teardown to avoid them
  stopping execution.
- After teardown, check has any of timeouts exceeded during it.
- Timeouts set inside teardown are used normally.

Fixes #5474.
Also round time left in the "timeout active" debug message to three
decimals.
Part of #5373. Fixes #5558.

---------

Co-authored-by: Clemens Otto <clemens.otto@rohde-schwarz.com>
Co-authored-by: Pekka Klärck <peke@iki.fi>
The value should be omitted altogether or '0' used instead.

Also add default value to `Get Substring` keyword's `start` argument
to actually allow omitting the value.

Fixes #5537.
Use newish Robot features to simplify tests.
Argument conversion handles conversion for us.
- Use templates to avoid duplication
- Make template keywords more generic
This was already done with `Split To Lines` and `Get Substring`, but
now it is also done with `Split String`, `Split String From Right` and
`Generate Random String`.

Fixes #5537.
Fixes #5568.

Also enhance comments about other deprecations in RF 7.4. Now all have
a TODO about removing in RF 9. Possibly those that affect signatures
(`Literal[""]`) could be removed already earlier, with others there's
no real hurry.
Also some fine-tuning.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.